// 处理 highlight 组件在 retina 屏上超过 455 行白屏的bug https://aone.alibaba-inc.com/issue/16438455
.next-tabs {
  overflow: inherit;
}

.highlighter-pre {
  // fix: safari 换行问题
  // https://stackoverflow.com/questions/44754987/getting-osx-safari-to-honor-css-white-space-pre
  word-wrap: normal;
}

.react-syntax-highlighter-line-number {
  &.can-click {
    position: relative;
    cursor: pointer;
    user-select: none;
    &:hover,
    &.selected {
      .react-syntax-highlighter-line-number-anchor {
        display: block !important;
      }
    }
  }
  &-anchor {
    display: none !important;
    position: absolute;
    top: 1px;
    left: 2px;
  }
}
